home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / tools / developer-tools / andere sprachen / gamesmaster / includes / fd / games_lib.fd < prev   
Encoding:
Text File  |  1996-07-16  |  4.4 KB  |  172 lines

  1. *                        FUNCTION DEFINITIONS LIST
  2. *
  3. *                             Date: 05.07.96
  4. *
  5. *                             "games.library"
  6. *
  7. ##base _GMSBase
  8. ##bias 30
  9. ##public
  10. *----------------------------------------
  11. * Standard functions
  12. *----------------------------------------
  13. InitGPI(GPI_ID)(d0)
  14. RemoveGPI(GPI_ID)(d0)
  15. Read_Mouse(PortName)(d0)
  16. Read_JoyPort(Portname)(d0)
  17. Read_JoyStick(PortName)(d0)
  18. Read_JoyPad(PortName)(d0)
  19. Read_SegaPad(PortName)(d0)
  20. Read_Analog(PortName)(d0)
  21. Read_Key(KeyStruct)(a0)
  22. FastRandom(range)(d1)
  23. SlowRandom(range)(d1)
  24. Wait_LMB()()
  25. Wait_Fire(PortName)(d0)
  26. Wait_Time(MicroSeconds)(d0)
  27. NoRequesters()()
  28. SetFilter(NewStatus)(d0)
  29. Add_InputHandler()()
  30. Rem_InputHandler()()
  31. Add_Interrupt(Interrupt,IntNum,IntPri)(a0/d0/d1)
  32. Rem_Interrupt(IntBase)(a0)
  33. SmartLoad(FileName,Destination,MemType)(a0/a1/d0)
  34. QuickLoad(FileName,Destination,MemType)(a0/a1/d0)
  35. SmartUnpack(Source,Destination,MemType)(a0/a1/d0)
  36. SetUserPri()()
  37. SetGMSPrefs(PrefsStruct)(a0)
  38. UnpackPic(PicSource,PicDest,PaletteDest)(a0/a1/a2)
  39. GetPicInfo(Picture)(a0)
  40. SetPassword(Password)(d0)
  41. AllocMemBlock(Size,MemType)(d0/d1)
  42. FreeMemBlock(MemBlock)(d0)
  43. Reserved24()()
  44. Reserved25()()
  45. Reserved26()()
  46. Reserved27()()
  47. Reserved28()()
  48. Reserved29()()
  49. Reserved2A()()
  50. Reserved2B()()
  51. Reserved2C()()
  52. Reserved2D()()
  53. Reserved2E()()
  54. Reserved2F()()
  55. Reserved2G()()
  56. Reserved2H()()
  57. Reserved2I()()
  58. Reserved2J()()
  59. *----------------------------------------
  60. * Screens.GPI functions.
  61. *----------------------------------------
  62. Add_Screen(GameScreen)(a0)
  63. Delete_Screen(GameScreen)(a0)
  64. Show_Screen(GameScreen)(a0)
  65. Hide_Screen()()
  66. ReturnToOS()()
  67. AutoOSReturn()()
  68. SwapBuffers(GameScreen)(a0)
  69. Wait_VBL()()
  70. Wait_OSVBL()()
  71. Wait_RastLine(LinePosition)(d0)
  72. Remake_Screen(GameScreen)(a0)
  73. HWScroll_Horizontal(GameScreen,XShift)(a0/d0)
  74. HWScroll_Vertical(GameScreen,YShift)(a0/d0)
  75. HWScroll_Reset(GameScreen)(a0)
  76. *
  77. * Colour stuff.
  78. *
  79. B12_FadeToBlack(GameScreen)(a0)
  80. B12_FadeToWhite(GameScreen,StartCol,AmtCols)(a0/d0/d1)
  81. B12_FadeToPalette(GameScreen,Palette,StartCol,AmtCols)(a0/a1/d0/d1)
  82. B12_FadeToColour(GameScreen,RGB)(a0/d0)
  83. B24_FadeToBlack(GameScreen,Speed)(a0/d0)
  84. B24_FadeToWhite(GameScreen)(a0)
  85. B24_FadeToPalette(GameScreen,Palette)(a0/a1)
  86. B24_FadeToColour(GameScreen,RRGGBB)(a0/d0)
  87. Change_Colours(GameScreen,Colours,StartColour,AmtColours)(a0/a1/d0/d1)
  88. Blank_Colours(GameScreen)(a0)
  89. *
  90. * Rasterlist stuff.
  91. *
  92. Init_RasterList(GameScreen)(a0)
  93. Update_RasterList(GameScreen)(a0)
  94. *Update_RastCommand(Command)(a1)
  95. Remove_RasterList(GameScreen)(a0)
  96. Hide_RasterList(GameScreen)(a0)
  97. Show_RasterList(GameScreen)(a0)
  98. *
  99. * Sprite stuff.
  100. *
  101. Init_Sprite(GameScreen,SpriteStruct)(a0/a1)
  102. Update_Sprite(GameScreen,SpriteStruct)(a0/a1)
  103. Move_Sprite(GameScreen)(a0)
  104. Remove_Sprite(GameScreen,SpriteNum)(a0/d0)
  105. Update_SpriteList(SpriteList)(a0)
  106. Remove_SpriteList(SpriteList)(a0)
  107. Remove_AllSprites(GameScreen)(a0)
  108. Return_AllSprites(GameScreen)(a0)
  109. *
  110. * Reserved for later!
  111. *
  112. Reserved00()()
  113. Reserved01()()
  114. Reserved02()()
  115. Reserved03()()
  116. Reserved04()()
  117. Reserved05()()
  118. Reserved06()()
  119. Reserved07()()
  120. *----------------------------------------
  121. * Blitter.GPI
  122. *----------------------------------------
  123. Init_BOB(GameScreen,BOBStruct)(a0/a1)
  124. Init_BOBList(GameScreen,BOBStructList)(a0/a1)
  125. Blit_BOB(GameScreen,BOBStruct)(a0/a1)
  126. Blit_BOBList(GameScreen,BOBStructList)(a0/a1)
  127. Clear_BOB(GameScreen,BOBStruct)(a0/a1)
  128. Clear_BOBList(GameScreen,BOBStructList)(a0/a1)
  129. Blit_Vertical_Series(GameScreen,SeriesStruct)(a0/a1)
  130. Blit_ScaledBMap(GameScreen)(a0)
  131. Blit_Pattern(GameScreen)(a0)
  132. Blit_Line(GameScreen,SX,SY,EX,EY)(a0/d0/d1/d2/d3)
  133. Blit_Direct(GameScreen,DirectValues)(a0,a1)
  134. SnR_Backgrounds(GameScreen,BOBList)(a0/a1)
  135. Clear_Screen(GameScreen)(a0) 
  136. Clear_ScreenArea(GameScreen,TopX,TopY,BotX,BotY)(a0/d0/d1/d2/d3)
  137. GrabBlitter()()
  138. FreeBlitter()()
  139. Reserved12()()
  140. Reserved13()()
  141. Reserved14()()
  142. Reserved15()()
  143. Reserved16()()
  144. Reserved17()()
  145. Reserved18()()
  146. Reserved19()()
  147. Reserved1A()()
  148. Reserved1B()()
  149. *----------------------------------------
  150. * Sound.GPI
  151. *----------------------------------------
  152. AllocAudio()()
  153. FreeAudio()()
  154. InitSound(SoundStruct)(a0)
  155. CheckChannel(ChannelName)(d0)
  156. PlaySound(SoundStruct)(a0)
  157. PlaySoundDAC1(SoundStruct)(a0)
  158. PlaySoundDAC2(SoundStruct)(a0)
  159. PlaySoundDAC3(SoundStruct)(a0)
  160. PlaySoundDAC4(SoundStruct)(a0)
  161. PlaySoundPri(SoundStruct)(a0)
  162. PlaySoundPriDAC1(SoundStruct)(a0)
  163. PlaySoundPriDAC2(SoundStruct)(a0)
  164. PlaySoundPriDAC3(SoundStruct)(a0)
  165. PlaySoundPriDAC4(SoundStruct)(a0)
  166. SetVolume(Channel,Volume)(d0/d1)
  167. FadeVolume(Channel)()
  168. InitSTPlayer()()
  169. PlaySTMOD()()
  170. StopSTPlayer()()
  171. ##end
  172.